package com.jl.scr;

public class KeyWords {

	public final static int CMD = 1;
	public final static int REM = 2;
	public final static int RST = 3;
	public final static int USIM = 4;
	public final static int SWI = 5;
	public final static int INI = 6;
	public final static int RES = 7;
	public final static int DOWNLOAD = 8;
	public final static int OTHER = 9;
	public final static int AUTH = 10;

	static int getKeyWord(String key) {
		if (key.equalsIgnoreCase("cmd")) {
			return CMD;
		}
		if (key.equalsIgnoreCase("rem")) {
			return REM;
		}
		if (key.equalsIgnoreCase("RST")) {
			return RST;
		}
		if (key.equalsIgnoreCase("USIM")) {
			return USIM;
		}
		if (key.equalsIgnoreCase("SWI")) {
			return SWI;
		}
		if (key.equalsIgnoreCase("INI")) {
			return INI;
		}
		if (key.equalsIgnoreCase("RES")) {
			return RES;
		}
		if (key.equalsIgnoreCase("DOWNLOAD")) {
			return DOWNLOAD;
		}
		if (key.equalsIgnoreCase("AUTH")) {
			return AUTH;
		}
		return OTHER;
	}

}
